import React, { Component } from 'react'
import { Result, Button } from 'antd'

export default class index extends Component {
  render() {
    return (
      <div>
        <Result
          status="404"
          title="404"
          subTitle="没有，滚"
          extra={
            <Button
              onClick={() => this.props.history.push('/home')}
              type="primary"
            >
              去首页
            </Button>
          }
        />
      </div>
    )
  }
}
